\hypertarget{class_gpio_factory}{\section{Gpio\+Factory类 参考}
\label{class_gpio_factory}\index{Gpio\+Factory@{Gpio\+Factory}}
}


Gpio工厂类,负责管理创建和管理\+Gpio.  




{\ttfamily \#include $<$Gpio.\+h$>$}

\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_gpio_imp}{Gpio\+Imp} $\ast$ \hyperlink{class_gpio_factory_a36d0d31672bf17f188e1cd4ca3701d79}{get\+Gpio\+Imp} (std\+::string group, sint32 pin)
\begin{DoxyCompactList}\small\item\em G\+P\+I\+O工厂获取\+G\+P\+I\+O实例 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_gpio_factory}{Gpio\+Factory} $\ast$ \hyperlink{class_gpio_factory_a8c4b5da16683b5267c5d70084e747c76}{get\+Instance} ()
\begin{DoxyCompactList}\small\item\em 获取\+Gpio\+Factory单例 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{详细描述}
Gpio工厂类,负责管理创建和管理\+Gpio. 

\subsection{成员函数说明}
\hypertarget{class_gpio_factory_a36d0d31672bf17f188e1cd4ca3701d79}{\index{Gpio\+Factory@{Gpio\+Factory}!get\+Gpio\+Imp@{get\+Gpio\+Imp}}
\index{get\+Gpio\+Imp@{get\+Gpio\+Imp}!Gpio\+Factory@{Gpio\+Factory}}
\subsubsection[{get\+Gpio\+Imp}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Gpio\+Imp} $\ast$ Gpio\+Factory\+::get\+Gpio\+Imp (
\begin{DoxyParamCaption}
\item[{std\+::string}]{group, }
\item[{sint32}]{pin}
\end{DoxyParamCaption}
)}}\label{class_gpio_factory_a36d0d31672bf17f188e1cd4ca3701d79}


G\+P\+I\+O工厂获取\+G\+P\+I\+O实例 


\begin{DoxyParams}{参数}
{\em group} & G\+P\+I\+O所在组 \\
\hline
{\em pin} & \hyperlink{class_g_p_i_o}{G\+P\+I\+O} pin脚 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
成功返回\+G\+P\+I\+O实例\+Gpio\+Imp$\ast$,失败返回\+N\+U\+L\+L 
\end{DoxyReturn}
\begin{DoxyNote}{注解}
none 
\end{DoxyNote}
\hypertarget{class_gpio_factory_a8c4b5da16683b5267c5d70084e747c76}{\index{Gpio\+Factory@{Gpio\+Factory}!get\+Instance@{get\+Instance}}
\index{get\+Instance@{get\+Instance}!Gpio\+Factory@{Gpio\+Factory}}
\subsubsection[{get\+Instance}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Gpio\+Factory}$\ast$ Gpio\+Factory\+::get\+Instance (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_gpio_factory_a8c4b5da16683b5267c5d70084e747c76}


获取\+Gpio\+Factory单例 


\begin{DoxyParams}{参数}
{\em void} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
Gpio\+Factory$\ast$ 
\end{DoxyReturn}
\begin{DoxyNote}{注解}
none 
\end{DoxyNote}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
libemb/inc/\hyperlink{_gpio_8h}{Gpio.\+h}\item 
libemb/src/Gpio.\+cpp\end{DoxyCompactItemize}
